const path = require('path');
let a = require(path.resolve(__dirname, './test'));
setInterval(()=>{
  console.log(a);
},1000)
